package com.guigu.tms.commons.aggregation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 缓冲路线子表
 * </p>
 *
 * @author wj
 * @since 2022-10-21
 */
@TableName("pd_cache_line_detail")
@Data
public class CacheLineDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 缓冲线路表id
     */
    private String cacheLineId;

    /**
     * 起始机构
     */
    private String startAgencyId;

    /**
     * 终点机构
     */
    private String endAgencyId;

    /**
     * 从1开始递增
     */
    private Integer sort;

    /**
     * 业务表线路ID
     */
    private String transportLineId;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    @TableField(exist = false)
    private CacheLine cacheLine;
}
